<?php

namespace App\Http\Model\PtProv;

use App\Http\Model\PtTheme;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Foundation\Auth\User as Authenticatable;


use Log;
/*
 * 省份
 */
class PtProv extends Model {

    protected $table = 'pt_prov';
	protected $guarded = [];

    public function citys()
    {
        return $this->hasMany(PtCity::class,'prov_id');
    }

    public function theme()
    {
        return $this->belongsTo(PtTheme::class,'pt_theme_id');
    }




}
